package cn.com.tianpeidong.restaurantadmin.project.admin.pos.service;

import cn.com.tianpeidong.restaurantadmin.project.admin.pos.entity.Sale;
import cn.com.tianpeidong.restaurantadmin.project.admin.pos.entity.SaleLineItem;

import java.math.BigDecimal;

/**
 * @author tianpeidong
 * @version 创建时间: 19-6-2 上午12:22
 */
public interface IPosService {

    Sale newSale(Sale sale);

    Sale add(Long deskId, SaleLineItem saleLineItem);

    Sale getSale(Long deskId);

    Sale removeDishes(Long deskId, SaleLineItem saleLineItem);

    BigDecimal calPrice(Long deskId);

    void dropSale(Long deskId);

    Sale makeSale(Long deskId);
}
